<?php

	require_once '_rootdir.php';
	
	// Fmgr0v0r01_Disk is the public root directory of the project's site

	class Fmgr0v0r01_Docs extends Fmgr0v0r01__rootdir{

		protected $rdk = 'docs';
		protected $mod = 775;
		
		public $media_class = 'Document Root';
		
		function script_xtns(){
			return explode('|', @$this->meta()->SCRIPTS);	
		}
		
		function cdrn_regexp(){
			return "(^".addslashes($this->child_fmrp(''))."[^\.][^/]+$|^".addslashes($this->child_fmrp('.htaccess'))."[^/]+$)";	
		}
		
		function contents($flag=2){
			$a = parent::contents($flag);
			foreach($a as $k=>$v) if((substr($v, 0, 1) == '.')&&($v != '.htaccess')) unset($a[$k]);
			return $a;
		}
		
	}

?>